[INFO] fetching crate flac-rs 0.0.7...
[INFO] fixing flac-rs-0.0.7 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] extracting crate flac-rs 0.0.7 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate flac-rs 0.0.7
[INFO] finished tweaking crates.io crate flac-rs 0.0.7
[INFO] tweaked toml for crates.io crate flac-rs 0.0.7 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate flac-rs 0.0.7 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate flac-rs 0.0.7 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded id3 v1.16.2
[INFO] [stderr]   Downloaded libflac-sys v0.3.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f8e8faf92710ddb61208324dd862be2c1db71d8affffc08c30721104631fe4eb
[INFO] running `Command { std: "docker" "start" "f8e8faf92710ddb61208324dd862be2c1db71d8affffc08c30721104631fe4eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f8e8faf92710ddb61208324dd862be2c1db71d8affffc08c30721104631fe4eb" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f8e8faf92710ddb61208324dd862be2c1db71d8affffc08c30721104631fe4eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f8e8faf92710ddb61208324dd862be2c1db71d8affffc08c30721104631fe4eb" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.2.22
[INFO] [stderr]     Checking miniz_oxide v0.8.8
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]     Checking flate2 v1.1.1
[INFO] [stderr]     Checking id3 v1.16.2
[INFO] [stderr]    Compiling cmake v0.1.54
[INFO] [stderr]    Compiling libflac-sys v0.3.3
[INFO] [stderr]     Checking flac-rs v0.0.7 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FlacEncoderParams` in this scope
[INFO] [stdout]   --> src/lib.rs:73:10
[INFO] [stdout]    |
[INFO] [stdout] 73 |         &FlacEncoderParams {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::options::FlacEncoderParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `FlacCompression` in this scope
[INFO] [stdout]   --> src/lib.rs:75:26
[INFO] [stdout]    |
[INFO] [stdout] 75 |             compression: FlacCompression::Level8,
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^ use of undeclared type `FlacCompression`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::options::FlacCompression;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `FlacReadStatus` in this scope
[INFO] [stdout]   --> src/lib.rs:88:72
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Box::new(|reader: &mut ReaderType, data: &mut [u8]| -> (usize, FlacReadStatus) {
[INFO] [stdout]    |                                                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::closure_objects::FlacReadStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `FlacReadStatus` in this scope
[INFO] [stdout]   --> src/lib.rs:93:51
[INFO] [stdout]    |
[INFO] [stdout] 93 |                         Ordering::Equal => (size, FlacReadStatus::GoOn),
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^ use of undeclared type `FlacReadStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::closure_objects::FlacReadStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `FlacReadStatus` in this scope
[INFO] [stdout]   --> src/lib.rs:94:50
[INFO] [stdout]    |
[INFO] [stdout] 94 |                         Ordering::Less => (size, FlacReadStatus::Eof),
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^ use of undeclared type `FlacReadStatus`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum through its public re-export
[INFO] [stdout]    |
[INFO] [stdout]  4 + use crate::closure_objects::FlacReadStatus;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `FlacReadStatus` in this scope
[INFO] [stdout]    --> src/lib.rs:100:25
[INFO] [stdout]     |
[INFO] [stdout] 100 |                     (0, FlacReadStatus::Abort)
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^ use of undeclared type `FlacReadStatus`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum through its public re-export
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::closure_objects::FlacReadStatus;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SamplesInfo` in this scope
[INFO] [stdout]    --> src/lib.rs:122:55
[INFO] [stdout]     |
[INFO] [stdout] 122 |         Box::new(|samples: &[Vec<i32>], sample_info: &SamplesInfo| -> Result<(), io::Error>{
[INFO] [stdout]     |                                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct through its public re-export
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::closure_objects::SamplesInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `FlacInternalDecoderError` in this scope
[INFO] [stdout]    --> src/lib.rs:141:26
[INFO] [stdout]     |
[INFO] [stdout] 141 |         Box::new(|error: FlacInternalDecoderError| {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum through its public re-export
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::closure_objects::FlacInternalDecoderError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `FlacAudioForm` in this scope
[INFO] [stdout]    --> src/lib.rs:146:9
[INFO] [stdout]     |
[INFO] [stdout] 146 |         FlacAudioForm::FrameArray
[INFO] [stdout]     |         ^^^^^^^^^^^^^ use of undeclared type `FlacAudioForm`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum through its public re-export
[INFO] [stdout]     |
[INFO] [stdout]   4 + use crate::options::FlacAudioForm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0631]: type mismatch in closure arguments
[INFO] [stdout]   --> src/lib.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |           Box::new(|writer: &mut WriterType, data: &[u8]| -> Result<(), io::Error> {
[INFO] [stdout]    |           ^        --------------------------------------------------------------- found signature defined here
[INFO] [stdout]    |  _________|
[INFO] [stdout]    | |
[INFO] [stdout] 62 | |             writer.write_all(data)
[INFO] [stdout] 63 | |         }),
[INFO] [stdout]    | |__________^ expected due to this
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected closure signature `for<'a, 'b> fn(&'a mut &mut BufWriter<_>, &'b _) -> _`
[INFO] [stdout]               found closure signature `fn(&mut BufWriter<_>, &_) -> _`
[INFO] [stdout]    = note: required for the cast from `Box<{closure@src/lib.rs:61:18: 61:81}>` to `Box<dyn FnMut(&mut &mut BufWriter<File>, &[u8]) -> Result<(), Error>>`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/flac-6def3c85bccdaf8f.long-type-14226371907414099283.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] help: consider adjusting the signature so it borrows its argument
[INFO] [stdout]    |
[INFO] [stdout] 61 |         Box::new(|writer: &mut &mut WriterType, data: &[u8]| -> Result<(), io::Error> {
[INFO] [stdout]    |                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0631]: type mismatch in closure arguments
[INFO] [stdout]   --> src/lib.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |           Box::new(|writer: &mut WriterType, position: u64| -> Result<(), io::Error> {
[INFO] [stdout]    |           ^        ----------------------------------------------------------------- found signature defined here
[INFO] [stdout]    |  _________|
[INFO] [stdout]    | |
[INFO] [stdout] 66 | |             writer.seek(SeekFrom::Start(position))?;
[INFO] [stdout] 67 | |             Ok(())
[INFO] [stdout] 68 | |         }),
[INFO] [stdout]    | |__________^ expected due to this
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected closure signature `for<'a> fn(&'a mut &mut BufWriter<_>, _) -> _`
[INFO] [stdout]               found closure signature `fn(&mut BufWriter<_>, _) -> _`
[INFO] [stdout]    = note: required for the cast from `Box<{closure@src/lib.rs:65:18: 65:83}>` to `Box<dyn for<'a> FnMut(&'a mut &mut BufWriter<File>, u64) -> Result<(), std::io::Error>>`
[INFO] [stdout] help: consider adjusting the signature so it borrows its argument
[INFO] [stdout]    |
[INFO] [stdout] 65 |         Box::new(|writer: &mut &mut WriterType, position: u64| -> Result<(), io::Error> {
[INFO] [stdout]    |                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0631]: type mismatch in closure arguments
[INFO] [stdout]   --> src/lib.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |           Box::new(|writer: &mut WriterType| -> Result<u64, io::Error> {
[INFO] [stdout]    |           ^        --------------------------------------------------- found signature defined here
[INFO] [stdout]    |  _________|
[INFO] [stdout]    | |
[INFO] [stdout] 71 | |             writer.stream_position()
[INFO] [stdout] 72 | |         }),
[INFO] [stdout]    | |__________^ expected due to this
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected closure signature `for<'a> fn(&'a mut &mut BufWriter<_>) -> _`
[INFO] [stdout]               found closure signature `fn(&mut BufWriter<_>) -> _`
[INFO] [stdout]    = note: required for the cast from `Box<{closure@src/lib.rs:70:18: 70:69}>` to `Box<dyn for<'a> FnMut(&'a mut &mut BufWriter<File>) -> Result<u64, std::io::Error>>`
[INFO] [stdout] help: consider adjusting the signature so it borrows its argument
[INFO] [stdout]    |
[INFO] [stdout] 70 |         Box::new(|writer: &mut &mut WriterType| -> Result<u64, io::Error> {
[INFO] [stdout]    |                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0631]: type mismatch in closure arguments
[INFO] [stdout]    --> src/lib.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |           Box::new(|reader: &mut ReaderType, position: u64| -> Result<(), io::Error> {
[INFO] [stdout]     |           ^        ----------------------------------------------------------------- found signature defined here
[INFO] [stdout]     |  _________|
[INFO] [stdout]     | |
[INFO] [stdout] 106 | |             reader.seek(SeekFrom::Start(position))?;
[INFO] [stdout] 107 | |             Ok(())
[INFO] [stdout] 108 | |         }),
[INFO] [stdout]     | |__________^ expected due to this
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected closure signature `for<'a> fn(&'a mut &mut BufReader<_>, _) -> _`
[INFO] [stdout]                found closure signature `fn(&mut BufReader<_>, _) -> _`
[INFO] [stdout]     = note: required for the cast from `Box<{closure@src/lib.rs:105:18: 105:83}>` to `Box<dyn for<'a> FnMut(&'a mut &mut BufReader<File>, u64) -> Result<(), std::io::Error>>`
[INFO] [stdout] help: consider adjusting the signature so it borrows its argument
[INFO] [stdout]     |
[INFO] [stdout] 105 |         Box::new(|reader: &mut &mut ReaderType, position: u64| -> Result<(), io::Error> {
[INFO] [stdout]     |                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0631]: type mismatch in closure arguments
[INFO] [stdout]    --> src/lib.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |           Box::new(|reader: &mut ReaderType| -> Result<u64, io::Error> {
[INFO] [stdout]     |           ^        --------------------------------------------------- found signature defined here
[INFO] [stdout]     |  _________|
[INFO] [stdout]     | |
[INFO] [stdout] 111 | |             reader.stream_position()
[INFO] [stdout] 112 | |         }),
[INFO] [stdout]     | |__________^ expected due to this
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected closure signature `for<'a> fn(&'a mut &mut BufReader<_>) -> _`
[INFO] [stdout]                found closure signature `fn(&mut BufReader<_>) -> _`
[INFO] [stdout]     = note: required for the cast from `Box<{closure@src/lib.rs:110:18: 110:69}>` to `Box<dyn for<'a> FnMut(&'a mut &mut BufReader<File>) -> Result<u64, std::io::Error>>`
[INFO] [stdout] help: consider adjusting the signature so it borrows its argument
[INFO] [stdout]     |
[INFO] [stdout] 110 |         Box::new(|reader: &mut &mut ReaderType| -> Result<u64, io::Error> {
[INFO] [stdout]     |                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0631]: type mismatch in closure arguments
[INFO] [stdout]    --> src/lib.rs:114:9
[INFO] [stdout]     |
[INFO] [stdout] 114 |           Box::new(|_reader: &mut ReaderType| -> Result<u64, io::Error>{
[INFO] [stdout]     |           ^        ---------------------------------------------------- found signature defined here
[INFO] [stdout]     |  _________|
[INFO] [stdout]     | |
[INFO] [stdout] 115 | |             Ok(length)
[INFO] [stdout] 116 | |         }),
[INFO] [stdout]     | |__________^ expected due to this
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected closure signature `for<'a> fn(&'a mut &mut BufReader<_>) -> _`
[INFO] [stdout]                found closure signature `fn(&mut BufReader<_>) -> _`
[INFO] [stdout]     = note: required for the cast from `Box<{closure@src/lib.rs:114:18: 114:70}>` to `Box<dyn for<'a> FnMut(&'a mut &mut BufReader<File>) -> Result<u64, std::io::Error>>`
[INFO] [stdout] help: consider adjusting the signature so it borrows its argument
[INFO] [stdout]     |
[INFO] [stdout] 114 |         Box::new(|_reader: &mut &mut ReaderType| -> Result<u64, io::Error>{
[INFO] [stdout]     |                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0631]: type mismatch in closure arguments
[INFO] [stdout]    --> src/lib.rs:118:9
[INFO] [stdout]     |
[INFO] [stdout] 118 |           Box::new(|reader: &mut ReaderType| -> bool {
[INFO] [stdout]     |           ^        --------------------------------- found signature defined here
[INFO] [stdout]     |  _________|
[INFO] [stdout]     | |
[INFO] [stdout] 119 | |             reader.stream_position().unwrap() >= length
[INFO] [stdout] 120 | |         }),
[INFO] [stdout]     | |__________^ expected due to this
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected closure signature `for<'a> fn(&'a mut &mut BufReader<_>) -> _`
[INFO] [stdout]                found closure signature `fn(&mut BufReader<_>) -> _`
[INFO] [stdout]     = note: required for the cast from `Box<{closure@src/lib.rs:118:18: 118:51}>` to `Box<dyn for<'a> FnMut(&'a mut &mut BufReader<File>) -> bool>`
[INFO] [stdout] help: consider adjusting the signature so it borrows its argument
[INFO] [stdout]     |
[INFO] [stdout] 118 |         Box::new(|reader: &mut &mut ReaderType| -> bool {
[INFO] [stdout]     |                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433, E0631.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `flac-rs` (lib test) due to 16 previous errors
[INFO] running `Command { std: "docker" "inspect" "f8e8faf92710ddb61208324dd862be2c1db71d8affffc08c30721104631fe4eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8e8faf92710ddb61208324dd862be2c1db71d8affffc08c30721104631fe4eb", kill_on_drop: false }`
[INFO] [stdout] f8e8faf92710ddb61208324dd862be2c1db71d8affffc08c30721104631fe4eb
